import json
with open("/home/biomind/jupyter-dev/classification_votes_.json", "r") as fn:
    res = json.load(fn)
new_res = {}
for k, v in res.items():
    try:
        key = k.split("##")
        del key [2]
        #new_key = [key[0], key[1], key[3], key[4], key[5],key[6],key[7],key[8],key[9],key[10],key[11],key[12],key[13]]
        new_res["#".join(key)] = v
    except Exception as e:
        print(len(key),"-----", key)
with open("classification_votes.json", "w") as fn:
    json.dump(new_res, fn)
